package cn.itsource;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;

import java.util.Date;

@SpringBootApplication
@MapperScan("cn.itsource.*.mapper")
@ServletComponentScan("cn.itsource.basic.listener")//开启扫描servlet组件（Servlet、Filter、Listenter）
public class PetHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class);
    }

}
